import { http } from "@/utils/http.js"
import type { BannerItem } from '@/types/home'

// 获取首页轮播图数据
export const getBanner = () => {
	return http<BannerItem[]>({
		url: '/home/banner',
	})
}